package com.tz.service.user.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tz.bean.Star;
import com.tz.bean.TzParams;
import com.tz.dao.user.IStarMapper;
import com.tz.service.user.IStarService;

@Service
public class StarServiceImpl implements IStarService{
	
	@Autowired
	private IStarMapper starMapper;

	@Override
	public List<Star> find(TzParams params) {
		return starMapper.find(params);
	}

	@Override
	public List<Star> findDetail(TzParams params) {
		return starMapper.findDetail(params);
	}

	@Override
	public int count(TzParams params) {
		return starMapper.count(params);
	}

	@Override
	public int add(TzParams params) {
		return starMapper.add(params);
	}

	@Override
	public int update(TzParams params) {
		return starMapper.update(params);
	}

	@Override
	public int delete(TzParams params) {
		return starMapper.delete(params);
	}

	
}
